package com.luych.toolbox.common.feign.view.automation.service;

import com.luych.toolbox.common.feign.FeignView;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.List;

@ApiModel("任务模板数据返回")
public class AutoTaskTemplateView extends FeignView {

    @ApiModelProperty("名称")
    private String name;
    @ApiModelProperty("目标服务器数量")
    private Integer serverCount;
    @ApiModelProperty("模板参数")
    private List<AutoTaskTemplateArgView> args;
    @ApiModelProperty("任务节点")
    private List<AutoTaskTemplateNodeView> nodes;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getServerCount() {
        return serverCount;
    }

    public void setServerCount(Integer serverCount) {
        this.serverCount = serverCount;
    }

    public List<AutoTaskTemplateArgView> getArgs() {
        return args;
    }

    public void setArgs(List<AutoTaskTemplateArgView> args) {
        this.args = args;
    }

    public List<AutoTaskTemplateNodeView> getNodes() {
        return nodes;
    }

    public void setNodes(List<AutoTaskTemplateNodeView> nodes) {
        this.nodes = nodes;
    }
}